<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<link href="css/bootstrap.min.css?v=3.3.6" th:href="@{/css/bootstrap.min.css?v=3.3.6}" rel="stylesheet">
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${wxuser.id}"  type="hidden">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户类型：</label>
                            <div class="col-sm-8">
                                <select id="userType" name="userType" data-placeholder="--请选择--" class="form-control chosen-select">
                                    <option value="">请选择用户类型</option>
                                    <option value="0" th:selected="${wxuser.userType==0}">普通用户</option>
                                    <option value="1" th:selected="${wxuser.userType==1}">企业用户</option>
                                    <option value="2" th:selected="${wxuser.userType==2}">车检人员</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">所在区县：</label>
                            <div class="col-sm-8">
                                <select id="districtId" name="districtId" data-placeholder="--请选择--" class="form-control chosen-select">
                                    <option value="">请选择所在区县</option>
                                    <option value="1310" th:selected="${wxuser.districtId==1310}">东港区</option>
                                    <option value="1311" th:selected="${wxuser.districtId==1311}">岚山区</option>
                                    <option value="1312" th:selected="${wxuser.districtId==1312}">五莲县</option>
                                    <option value="1313" th:selected="${wxuser.districtId==1313}">莒县</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/wxuser/set_user_type.js}"></script>
</body>
</html>
